package com.dianqiu.common.dao.impl;

import java.util.List;

import org.springframework.stereotype.Component;

import com.dianqiu.base.dao.impl.BaseDao;
import com.dianqiu.common.bean.DqBetUserMatchHistTO;
import com.dianqiu.common.dao.DqBetUserMatchDao;
import com.dianqiu.common.dao.DqBetUserMatchHistDao;
@Component("dqBetUserMatchHistDao")
public class DqBetUserMatchHistDaoImpl extends BaseDao implements DqBetUserMatchHistDao{

	@Override
	public List<DqBetUserMatchHistTO> getAllDqBetUserMatchHist() {
		// TODO Auto-generated method stub
		return this.getHibernateTemplate().find("from DqBetUserMatchHistTO um" +
				"  left outer join fetch um.id umm " +
				"  left outer join fetch um.dqMatchHist umm " +
				"  left outer join fetch um.dqHandicapHist umc " +
				"  left outer join fetch um.dqMatchHist.dqCodeTblByWeathCd umcc "
				);
	}
}
